package com.qf.service.impl;

import com.qf.mapper.DtsUserMapper;
import com.qf.service.DtsUserService;
import com.qf.vo.DayStatis;
import com.qf.vo.UserOrderCntVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lixu
 */
@Service
public class DtsUserServiceImpl implements DtsUserService {
    @Autowired
    private DtsUserMapper dtsUserMapper;
    /**
     *  日期对应的用户数和订单笔数
     * @param statisDaysRang
     * @return
     */
    @Override
    public List<DayStatis> findUserOrderCnt(int statisDaysRang) {
        //日期对应的用户增量
       return dtsUserMapper.findUserOrderCnt(statisDaysRang);

    }
}
